package light.head.dao.site;

import java.io.Serializable;
import java.util.List;

import light.head.framework.base.BaseDAO;
import light.head.model.RecruitAnnex;

import org.springframework.stereotype.Service;

@Service
public class RecruitAnnexDAO extends BaseDAO<RecruitAnnex, Serializable>{
	private static final String sql_getByRc = "FROM RecruitAnnex ra WHERE ra.deleted = 0 AND ra.rjc =?";
	
	public List<RecruitAnnex> getByRjc(Integer rjc){
		return super.find(sql_getByRc, rjc);
	}
}
